﻿#include <stdio.h>
#include <time.h>
//#include <windows.h>//vs里sleep函数包含的头文件
//#include <unistd.h>//Linux里sleep函数包含的头文件

int main()
{
	srand((unsigned int)time(NULL));//种子

	int xin_yun_er = 0;
	while(1)
	{
		xin_yun_er = rand() % 57 + 1;//生成1 ~ 57号
		if (xin_yun_er != 31 && xin_yun_er != 16)
			break;
	}
	printf("\n\n\n\n		这次被点到的幸运儿是	%d	号\n", xin_yun_er);

	if (xin_yun_er > 51)
	{
		Sleep(1000);
		printf("		什么？没有%d号？？？？", xin_yun_er);
		Sleep(1000);
		printf("戳啦~， % d号是：", xin_yun_er);
		Sleep(1000);
		switch(xin_yun_er)
		{
		case 52:
			printf("王聪容\n");
			break;
		case 53:
			printf("许俊辉\n");
			break;
		case 54:
			printf("杨玉琳\n");
			break;
		case 55:
			printf("杨慧敏\n");
			break;
		case 56:
			printf("夏志诚\n");
			break;
		case 57:
			printf("张晓龙\n");
			break;
		case 58:
			printf("肖宇博\n");
			break;
		}
	}
	Sleep(2000);
	printf("		下面有请ta来发言，大家掌声欢迎他闪亮登场\n\n\n\n");
	Sleep(2000);
	for (int i = 0; i < 30; i++)
	{
		printf("闪亮	 ");
		Sleep(250);
	}	
	for (int i = 0; i < 15; i++)
	{
		printf("掌声	 ");
		Sleep(250);
	}
	printf("\n\n\n");

	Sleep(250);
	printf("以下部分不用看，因为团委不让俺整活，不然骂死我，本淑女怕怕\n");
	printf("------------------------------分割线----------------------------------------\n\n\n");
	Sleep(250);


	Sleep(900);
	printf("			%d号\n", xin_yun_er);
	Sleep(900);
	printf("		**你是银河中滚烫的星辰**\n");
	Sleep(900);
	printf("		**你是软二努力又向上的绝佳代表**\n");
	Sleep(900);
	printf("		**你同火焰一同迸发**\n");
	Sleep(900);
	printf(		"		**你是偶然坠入人文的天使泪滴**\n");
	Sleep(900);

	printf("\n");
	printf("			%d号 \n", xin_yun_er);
	printf("__   __  __     __    ____       ____\n");
	Sleep(500);
	printf("__   __   __   __     ____       ____\n");
	Sleep(500);
	printf("\\ \\ / /   \\ \\ / /    |  _  \\    / ___ |\n");//只用一个斜杠输出不出来，因为会当初转义字符
	Sleep(500);
	printf(" \\ V /     \\ V /     | | | |    \\___ \\ \n");
	Sleep(500);
	printf("  | |       | |      | |_| |    ___) | \n");
	Sleep(500);
	printf("  |_|       |_|      |___ /    |____ / \n");
	Sleep(700);
	getchar();

	//printf("✨❤是银河中滚烫的星辰❤✨\n"
	//		"✨❤是努力又向上的绝佳代表❤✨\n"
	//		"✨❤同火焰一同迸发❤✨\n"
	//		"✨❤是偶然坠入凡间的天使泪滴❤✨\n");
	/*printf("__     __ __     __    ____       ____\n");
	printf("__     __ __    __    ____       ____\n");
	printf("\ \   / / \ \  / /   |  _  \    / ___ |\n");
	printf(" \ V /     \ V /     | | | |    \___ \ \n");
	printf("  | |       | |      | |_| |    ___) | \n");
    printf("  |_|       |_|      |___ /    |____ / \n");*/

	return 0;
}